package com.lujieni.springboothutool.vo;

import java.util.List;

public class TreeBase<R extends TreeBase<R>> {
    private Integer id;
    private List<R> children;

    public TreeBase() {
    }

    public Integer getId() {
        return this.id;
    }

    public TreeBase<R> setId(Integer id) {
        this.id = id;
        return this;
    }

    public List<R> getChildren() {
        return this.children;
    }

    public TreeBase<R> setChildren(List<R> children) {
        this.children = children;
        return this;
    }
}
